.mos_video.main {
  margin-top: 15px;
  height: 404px;
  width: 100% !important;
  background: url(../images/demo-player_TV_BIG.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top center;
}
.mos_video.main > iframe {
  /* padding: 2px 32px 63px 31px; */
}
.mos_video > iframe {
  height: 100%;
}

.mos_video.main .c_info_video_added {
  display: none;
}

.main_content_wrapper.display #demo_left_col {
  width: 60%;
  background-color: #252942;
  opacity: 1;
}

#loadSettings {
  position: absolute;
  right: 0;
  top: -8px;
}
#settings {
  margin-top: 24px;
}

#schema-toggle{
    transform: scale(-1, 1);
}
/* #schema-toggle1{
  transform: scale(-1, 1);
} */

.form-control-submit-button-blue {
  display: inline-block;
  padding: 0.75rem 2rem 0.75rem 2rem;
  border: 1px solid #1fa9dd;
  border-radius: 2rem;
  background-color: transparent;
  color: #1fa9dd;
  font: 700 0.9rem "Source Sans Pro", sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s ease;
}
.form-control-submit-button-blue:hover {
  color: white;
  background: #1fa9dd;
}
.form-control-submit-button-blue:focus {
  outline: unset;
}
#main_wrapper_left {
  height: 85%;
  width: 90%;
  position: relative;
  margin: auto;
  top: 7.5%;
}

#c_video_princ {
  height: 380px;
  width: 100%;
  position: relative;
}

@media all and (max-height: 800px) {
  #c_video_princ {
    height: 360px;
  }
}
@media all and (max-height: 700px) {
  #c_video_princ {
    height: 310px;
  }
}

#c_video_princ video,
#c_video_princ iframe {
  display: inline-block;
  width: calc(100% - 51px);
  height: 287px;
}

.bg_stats {
  height: 100%;
  width: 100%;
  position: absolute;
  opacity: 0.9;
  background-color: #f0f0f0;
}

span.nb_stats {
  display: block;
  width: auto;
  padding: 0 12px;
  height: 100%;
  font-size: 24px;
  text-align: center;
  float: left;
}

#c_info_video_main span.nb_stats {
  font-size: 22px;
}

.nb_stats#main_nb_connected_users {
  color: #45b788;
}
.nb_stats#main_nb_server_pieces {
  color: #ad0430;
}
.nb_stats#main_nb_peertopeer_pieces {
  color: #808dd8;
}

span.txt_stats {
  width: auto;
  height: 28px;
  text-align: left;
  line-height: 1;
  margin-top: 6px;
}

#c_videos {
  height: 140px;
  width: 100%;
  position: relative;
  margin-top: 35px;
  margin-top: 100px;
}

#c_videos #c_slider_video {
  position: absolute;
  height: 100%;
  width: calc(100% - 70px);
  margin-left: 70px;
  overflow-x: auto;
  overflow-y: hidden;
}

#wrapper_mos {
  height: 100%;
  width: 100%;
  position: absolute;
}

#c_slider_video {
  scrollbar-color: #9b9b9b #f0f0f0;
}
#c_slider_video::-webkit-scrollbar {
  height: 6px !important;
  border-radius: 10px;
  overflow: hidden;
}
#c_slider_video::-webkit-scrollbar-track-piece {
  border-radius: 10px;
  background-color: #f0f0f0 !important;
}
#c_slider_video::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #9b9b9b;
}

.mos_video {
  height: 120px;
  width: 200px;
  position: relative;
  float: left;
  margin-left: 20px;
}

.mos_video.selected {
  /*opacity: 0.2;*/
  background-color: #20223d;
}

.mos_video iframe {
  /*transition: 0.5s ease-in;*/
  height: 100%;
}

.mos_video.fullscreen {
  /*position: fixed;
    margin-left: 0px;
    width: 54vw;
    top: 129px;
    height: auto;*/
}

.mos_video.fullscreen iframe {
  position: fixed;
  left: 3.1%;
  width: 54vw;
  top: 15%;
  height: 440px;
  display: block;
}

@media all and (max-height: 800px) {
  .mos_video.fullscreen iframe {
    height: 400px;
  }
}
@media all and (max-height: 700px) {
  .mos_video.fullscreen iframe {
    height: 350px;
  }
}

.mos_video:nth-child(1) {
  margin-left: 0px;
}

.mos_video .arrow {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 6px 10px 6px;
  border-color: transparent transparent #e9e9ec transparent;
  position: absolute;
  top: -14px;
  left: calc(50% - 15px);
  transition: 0.2s ease-in;
  opacity: 0;
}

.mos_video.fullscreen .arrow {
  opacity: 1;
}

.mos_video video {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
}
.mos_video .clickable_area {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: calc(100% - 50px);
  display: block;
  cursor: pointer;
  background-color: #20223d;
  opacity: 0;
  transition: 0.2s ease-in;
  background-image: url(../img/picto_choose.svg);
  background-size: 50px;
  background-repeat: no-repeat;
  background-position: center 60%;
}

.mos_video .clickable_area:hover {
  opacity: 0.4;
  background-position: center center;
}

.mos_video.fullscreen .clickable_area {
  display: none;
}

#btn_add_video {
  color: #ad0430;
  height: 40px;
  width: 40px;
  border-radius: 30px;
  border: solid 2px #ad0430;
  float: left;
  position: relative;
  margin-top: 42px;
  margin-left: 15px;
  cursor: pointer;
}
#btn_add_video p {
  color: #ad0430;
  top: -10px;
  position: absolute;
  left: 11px;
  font-size: 28px;
}

#c_info_video_main {
  left: 20px;
}
.c_info_video_added,
#c_info_video_main {
  height: 120px;
  width: 36px;
  position: absolute;
  top: 0;
  right: 0;
  padding-left: 0;
}

.mos_video.fullscreen .c_info_video_added {
  width: 100%;
  height: 100%;
}

.c_info_video_added span.nb_stats,
#c_info_video_main .nb_stats {
  height: 28px;
  width: 36px;
  padding: 0;
  position: relative;
  font-weight: normal;
  font-style: normal;
  font-size: 18px;
}

.mos_video.fullscreen .c_info_video_added span.nb_stats {
  top: 44%;
}
#c_info_video_main .nb_stats {
  top: 2px;
}
#c_info_video_main span {
  margin-top: 8px;
}
#c_info_video_main:before {
  display: block;
  position: absolute;
  border-right: 10px solid transparent;
  border-bottom: 13px solid#f0f0f0;
  border-left: 10px solid transparent;
  top: -26px;
  left: 8px;
  content: "";
}
#addusers {
  position: absolute;
  left: 70px;
  top: -26px;
}

.mos_video.fullscreen span.nb_stats:nth-child(3) {
  margin-left: 45px !important;
}

.btn_delete_user {
  height: 32px;
  width: 32px;
  position: relative;
  margin: 2px;
  border-radius: 50%;
  cursor: pointer;
  background-size: 35%;
  background-repeat: no-repeat;
  background-position: center;
  float: right;
  font-size: 20px;
  font-family: sans-serif;
  font-weight: 200;
  transform: scaleX(1.2);
  top: 6px;
  color: #39393a;
}

.mos_video.fullscreen .btn_delete_user {
  display: none;
}

.btn_slider_video {
  height: 50px;
  width: 50px;
  position: absolute;
  cursor: pointer;
  top: 50%;
  transform: translateY(-70%);
  background-size: 30%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #252942;
  opacity: 0.8;
  transition: 0.2s ease-in;
}
.btn_slider_video:hover {
  opacity: 1;
}

#c_videos.unscrollable .btn_slider_video {
  display: none;
}

.main_content_wrapper #demo_right_col {
  position: absolute;
  right: 0;
  transition: 0.2s ease-in;
  background-color: #f1f1f1;
  opacity: 0;
  width: 35%;
  height: 100%;
}

.main_content_wrapper.display #demo_right_col {
  background-color: #f1f1f1;
  opacity: 1;
  width: 40%;
}

#demo_right_col #c_top,
#demo_right_col #c_bottom {
  height: 45%;
  width: 100%;
  background-color: #f1f1f1;
  position: relative;
}

#demo_right_col #c_bottom {
  height: 55%;
  background-color: #fbfbfb;
}

#c_top h2 {
  color: #545454;
  font-size: 18px;
  text-transform: none;
}

#c_graph_princ {
  height: 70%;
  width: 90%;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
  position: absolute;
  left: 50%;
  top: 25%;
  transform: translateX(-50%);
}

#c_graph_princ svg {
  display: block;
  width: 100%;
  height: auto;
  position: absolute;
  bottom: 0;
}

#c_graph_princ svg polygon {
  opacity: 0.75;
}

#c_bottom #c_title {
  height: 40%;
  width: 100%;
  position: absolute;
  background-size: 32%;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-image: url(../img/title_benefits.svg);
}

#c_wrapper_graph_circular {
  height: 140px;
  width: 90%;
  position: relative;
  margin: 0;
  margin-top: 44px;
}

#c_graph_circular {
  transform: scale(0.7);
  height: 100px;
  width: 100px;
  top: 10px;
  position: absolute;
  right: 0;
}

#c_graph_circular h3 {
  height: auto;
  display: block;
  width: 100%;
  text-align: center;
  font-weight: normal;
  font-style: normal;
  font-size: 26px;
  color: #545454;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

#c_graph_circular circle.pie {
  fill: #fbfbfb;
  stroke: #ad0430;
  stroke-width: 90;
  stroke-dasharray: 220 300;
  transition: stroke-dasharray 0.3s ease;
}

#c_graph_circular circle.mask {
  height: 170;
  width: 170;
  fill: #fbfbfb;
}

#c_graph_circular svg.chart {
  background: #808dd8;
  border-radius: 50%;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%) rotate(-90deg);
}

#c_graph_circular svg.line {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

#c_graph_circular svg#svg_border {
  transform: translateX(-50%) translateY(-50%) rotate(360deg);
  transition: 0.3s ease;
}

#c_wrapper_graph_circular ul {
  height: auto;
  display: block;
  list-style-type: none;
  font-size: 13px !important;
  padding: 0;
}

#c_wrapper_graph_circular ul li {
  height: 25px;
  width: 100%;
  display: block;
  margin: 10px 0;
}

ul li .picto_legende {
  height: 100%;
  width: 64px;
  float: left;
  background-size: 42%;
  background-repeat: no-repeat;
  background-position: center;
}
#c_wrapper_graph_circular ul li:nth-child(1) .picto_legende {
  border-right: 1px solid #45b788;
  background-image: url(/images/picto_users.svg);
}
#c_wrapper_graph_circular ul li:nth-child(2) .picto_legende {
  border-right: 1px solid #ad0430;
  background-image: url(/images/picto_cdn.svg);
}
#c_wrapper_graph_circular ul li:nth-child(3) .picto_legende {
  border-right: 1px solid #808dd8;
  background-image: url(/images/picto_pp.svg);
  background-size: 50%;
}

#c_wrapper_graph_circular span.nb_stats {
  height: 100%;
}

#c_wrapper_graph_circular span.txt_stats {
  width: auto;
  height: 30px;
  text-align: left;
  line-height: 1;
  font-weight: normal;
  font-style: normal;
  margin-top: 5px;
  color: #9b9b9b;
}

#c_mobile {
  display: none;
}

#c_legende {
  height: auto;
  margin-top: 15px;
  width: 100%;
  position: relative;
  display: none;
}

#c_legende ul {
  display: block;
  height: 20px;
  width: 85%;
  position: relative;
  margin: 6% auto 0;
}

#c_legende ul li {
  display: block;
  height: 100%;
  width: 33%;
  position: relative;
  margin: auto;
  float: left;
}

#c_legende ul li .picto_legende {
  height: 100%;
  width: 20px;
  float: left;
  background-size: 42%;
  background-repeat: no-repeat;
  background-position: center left;
}

#c_legende ul li:nth-child(1) .picto_legende {
  background-image: url(/images/picto_users_white.svg);
  background-size: 73%;
}
#c_legende ul li:nth-child(2) .picto_legende {
  background-image: url(/images/picto_cdn_white.svg);
  background-size: 65%;
}
#c_legende ul li:nth-child(3) .picto_legende {
  background-image: url(/images/picto_pp_white.svg);
  background-size: 73%;
}

#c_legende ul li span {
  font-size: 12px;
  color: #fbfbfb;
  width: calc(100% - 20px);
  line-height: 0.9;
  display: block;
  height: 100%;
  float: left;
}

#c_arrow_scroll {
  height: 40px;
  width: 25px;
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%) scale(0.7);
  transform-origin: bottom center;
  display: none;
}

#arrow_scroll {
  height: 50%;
  width: 100%;
  position: absolute;
  background-image: url(../img/arrow_scroll.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100%;
  top: 0;
  animation: scroll_anim 1.5s infinite 1.5s;
}

@keyframes scroll_anim {
  0% {
    top: 0px;
  }
  50% {
    top: 30%;
  }
  100% {
    top: 0;
  }
}

@media (min-width: 1200px) {
  #c_video_princ video,
  #c_video_princ iframe {
    width: calc(100% - 62px);
    height: 342px;
  }
  /* #c_videos {
    margin-top: 80px;
  } */
}

@media screen and (max-width: 992px) {
  #c_video_princ video,
  #c_video_princ iframe {
    width: calc(100% - 116px);
    height: 342px;
  }
  #c_videos {
    /* margin-top: 86px; */
    margin-bottom: 30px;
  }
  #c_wrapper_graph_circular {
    position: absolute;
    top: 0;
    margin-top: 0;
  }
  .text-left {
    padding-top: 150px;
  }
  #loadSettings {
    top: 142px;
  }
}

/* @media screen and (max-width: 800px) {
  #c_videos {
    margin-top: 280px;
  }
} */
@media screen and (max-width: 768px) {
  #c_video_princ video,
  #c_video_princ iframe {
    width: calc(100% - 50px);
    height: 277px;
  }
  /* #c_videos {
    margin-top: 15px;
  } */
}
@media screen and (max-width: 575px) {
  #c_video_princ video,
  #c_video_princ iframe {
    width: 91%;
    height: 50vw;
  }
  #c_video_princ {
    height: 70vw;
    width: 100%;
  }
}


.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
    background-color: #384295;
}

.custom-switch .custom-control-label::after {
    background-color: #9b9b9b;
}